India and US have signed a military agreement on sharing sensitive satellite data amid Delhi's tense borders standoff with Beijing.