The accused were identified as Nanji Javiya, 67, and his neighbour Arvind Kubawat, 60, residents of Babaria Colony in the city, a Bhaktinagar police station official said.
The incident took place sometime last year, but came to light when she was found to be pregnant, he said.
The two allegedly lured the girl, who hails from a poor family, by offering her money and raped her, as per the FIR lodged after her mother filed a complaint.
"Initially, the girl concealed the incident from her family members, but eventually told her mother," he said.
The two were booked on the charge of rape and under provisions of the Protection of Children from Sexual Offences Act, the official added.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.