Who was he praying to? The number of Hindu gods number in the millions!
Hinduism must be thought of more as a combination of free form do it yourself religiosity combined with an agreement to try to stay out of the other guy's theology ~ that way they can put up their family chapels in the same building where they can be safe from friend and foe.
It has been said that the number of religions in India is equal to the number of people.
Perhaps you should actually read something on the Hindu faith. I would suggest you read the Upanishads and the Ramayana. The Hindu faith is essentially monotheistic in concept. Hindus believe that Ishvara is only One. This must not be confused with the numerous deities of the Hindus known as devas, are said to number up to 330 million. Deva may be translated into English as "god" (sic), "deity", "demi-god", "angel" or any celestial being or thing of high excellence, and hence is venerable. The word is, in fact, cognate to Latin deus "god".!
If you think this is absurd and completely un-Christian explain the angels, archangels, cherubs, seraphim, the Burning Bush and Ezekiel's Wheel.
A close study would lead you to conclude that Christianity and the teachings of Jesus are a hybrid theology of Judaism and Hinduism and scholars who believe that Jesus' lost years were spent in India.