
The location is future India and all the Hindu gods are alive. For a change, some gods are bad. Shiva and Jagannath are some sort of villains as they consume the sinners. Since the world is full of sinners, it means wiping out the entire population.
Baboon Warrior fights the gods. As the names suggests, this hero has the head of a baboon. He is like local folklore hero.
But the hero of the science fiction is Rakesh who wants to kill Baboon Warrior as he stole his bride. Another character is Vasant Alamvala, a royal engineer, who lost his position, and now wants to avenge the person responsible for it. His story has a Kamasutra angle.
Rakesh and Vasant join hands to fight Jagannath, a monster invoked by Brahmins, and they go through several philosophical crisis. These two are joined by some Buddhists. From here it is travelogue and they face new challenges.
You must have tons of patience to read the entire book.