Sensex Nifty extend gains but earnings concerns loom Infosys gains