Indian markets closed slightly lower as gains in financial and oil & gas stocks were offset by consumer sector declines.