In the words of Jesus in Matthew 6:
5. And when thou prayest, thou shalt not be as the hypocrites [are]: for they love to pray standing in the synagogues and in the corners of the streets, that they may be seen of men. Verily I say unto you, They have their reward.
6 But thou, when thou prayest, enter into thy closet, and when thou hast shut thy door, pray to thy Father which is in secret; and thy Father which seeth in secret shall reward thee openly.
7 But when ye pray, use not vain repetitions, as the heathen [do]: for they think that they shall be heard for their much speaking.
But, typically our friends on the right are all upset that Obama is practicing this, rather than being like the hypocrites or Bush.