Police officials at the scene said the assailants tried to board the bus carrying about two dozen policemen returning to their base Monday evening. Unable to get on the bus, the attackers sprayed it with gunfire and fled.
Mr. Modi was seeking more information and had expressed condolences to the officers’ families, the prime minister’s office said on Twitter.
Protests and bouts of violence have erupted across Kashmir in recent months. The Indian government’s move in 2019 split the region into two federally controlled territories. One of those territories, Ladakh, perched high in the Himalayas on the Chinese border, observed a complete shutdown on Monday, demanding full statehood.
India has deployed additional paramilitary soldiers to try to tamp down the violence. Observers say the fresh attack is likely to increase tensions between the residents and the police, hundreds of whom have lost their lives fighting the insurgency since it erupted in the late 1980s.
Mehbooba Mufti, a former top elected official who governed the region in a coalition with Mr. Modi’s Bharatiya Janata Party — a partnership that ended abruptly in 2018 — said on Twitter that the attack on Monday belied the government’s claims of having restored control and calm.
“Terribly sad to hear about the Srinagar attack in which two policemen were killed,” Ms. Mufti wrote. The “false narrative of normalcy in Kashmir stands exposed yet there has been no course correction,” she added.
Government forces reported killing two insurgents earlier on Monday, and there was speculation that the attack on the police bus could have been in retaliation.