The Sensex and Nifty climbed on Wednesday on the back of an IT stock rally amid rebounding crude oil prices.