India and China have agreed in principle to resume direct air services, nearly five years after flights were suspended.