The incident took place yesterday when the victims were on their way to Bagowali village from Delhi with their family on the occasion of 'bhaiya dooj', SSP H N Singh said.
The accused, a truck driver and a conductor, identified as Dilshad and Naved, intercepted the victims' car and harassed them.
Police said the duo has been arrested and strict action would be taken against them.
In another incident, six people were injured in clash between two groups after a woman was harassed by a youth at Pertapur village in Shamli district.
The two groups entered into a confrontation over the issue which turned into a violent clash in which lathies were used.
A case has been registered against several people on the complaint of a relative of the woman, police said.