The accused were identified as Sonu Patel (25) and Omkar Thakur (24).
The accused allegedly entered into the washroom of a hotel-cum-shopping mall in Vijay Nagar locality at around 1 am today where they tried to sexually assault the woman, Superintendent of Police Suraj Verma told PTI.
When she raised alarm, people came to her help and the duo was caught and handed over to the police, he said.
The woman had come here to attend a wedding. Police have recorded her statement.