Indian police say militants attacked a bus carrying Hindu pilgrims in the Kashmir region, where Muslim separatists have operated for decades.