Indian markets extended gains on Tuesday as geopolitical tensions eased and crude oil prices retreated sharply.