Prime Minister Narendra Modi and Chinese President Xi Jinping shook hands Tuesday at a side event at the G20 Summit here, a gesture drawing some attention because of the strained relations between the two countries over a border clash two years back.