The clash broke out between members of communities in Varanasi while they were celebrating Holi, festival of colours.
Police opened fire to overcome violence at broke out during Holi celebrations near Gausiya Masjid in Bajardiha locality under the Bhelupur police station in Varanasi, said Varanasi SP PC Meena.
The two killed as been identified as Shafikur and Md Moin of Bajardiha area . Their bodies have been sent for postmortem.
Meena said, "Trouble started after some Muslim youth saw a splash of colour on the wall of the Gausia mosque and they pelted stones on a nearby Hindu locality. Police immediately swung into action and surrounded the area and fired teargas to control the situation."