The visit to China is Modi's first visit since relations between the two countries deteriorated after Chinese and Indian soldiers engaged in deadly border clashes in 2020.