It has been established that you do NOT have to swear on a Bible in court. It's traditionally used, but you don't have swear an oath on it if it's against your religion. Some religions prevent you from swearing an oath to anyone but God. In that case, you can "affirm" that you will tell the truth.
"In God we Trust" is less religion specific (which God, who's God?) that a treatise from a book specific to certain religions. But it still bugs me.
FWIW, the Muslim religion is also bible based. Muslims study the old and new testaments as well as the Quran. So the 10 commandments do apply to them.
But Buddhists, Hindus, etc have their own texts to follow. Of course the rules are generally the same across most religions, but you don't see any judges trying to put up the Eightfold Path and the Four Noble Truths on the courtroom wall. And if they did, Fundamentalist Christians would be SCREAMING.
D