"I was told that that motto was placed on currency and coinage after 1954."
You're confusing coins with the insertion of 'under God' in the pledge of allegiance.
Thanks to all who replied to my inquiry. I learned something from all of you and that is great.