Chinese President Xi Jinping's visit to India is his first in seven years, at a time when ties between the two countries have been strained by the border dispute and trade imbalance.