The gains in Indian equity benchmark indices Sensex and Nifty came today as the crude oil prices retreated from multi-year highs on hopes that the Middle East conflict may ease.