The U.S. and India signed a military communications agreement Thursday during a visit by Secretary of State Mike Pompeo and Defense Secretary Jim Mattis.