Modi secured a record-equalling third term but lost his outright majority and is dependent on regional parties for support in his first coalition government.
Nuclear-armed rivals and neighbours India and Pakistan have fought three wars, including two over control of the disputed Kashmir region in the Himalayas.
Ties between the two have been frozen since India ended the special status of Jammu and Kashmir state in 2019 and split it into two federally administered territories.