India and the United States are in talks to help each other track submarines in the Indian Ocean, military officials say, a move that could further tighten defense ties between New Delhi and Washington as China steps up its undersea activities.