India is speeding up a navy modernization program and leaning on its neighbors to curb Chinese submarine activity in the Indian Ocean, as nations in the region become increasingly jittery over Beijing's growing undersea prowess.