India's top oil and gas producer ONGC on Thursday said it will invest Rs 31,000 crore over the next three years in exploring the Indian sedimentary basin for fuel reserves which could augment the nation's production in its attempt to be self-reliant in the energy sector.