At least 10 people are dead after gunmen attacked a moving bus and stormed a police station in India.

The attackers hijacked a car and then fired at the bus and a roadside eatery before entering a police station near Gurdaspur, a town in Punjab state, close to the border with Pakistan.

Eight people are in hospital with injuries, with seven of them in serious condition, the Press Trust of India news agency reported.

Police are investigating whether the militants came from the Indian portion of Kashmir, which borders Punjab, or from Pakistan after crossing the land border.

Rebels routinely stage attacks in Indian-held Kashmir, where they've been fighting since 1989 for an independent Kashmir or its merger with Pakistan.

Indian defence minister Manohar Parrikar said army commandos had joined the police operations in Dinanagar, a small town in Gurdaspur district located 450 kilometers (280 miles) north of New Delhi.

"Pakistan reiterates its condemnation of terrorism in all its forms and manifestations," the country's foreign ministry said in a statement.

State-run All India Radio said that police had discovered five bombs on a railway track in the area, causing train service to be suspended, though it was unclear whether it was related to the attack.