Well in order to have a general outline, Wikipedia should suffice. In case you want to go deeper.
Ancient India
Upinder Singh, A History of Ancient and Early Medieval India.
Romila Thapar, Early India from the origins to 1300.
R.S Sharma, The Advent of the Aryans.
Further Reading
J.P Sharma, Republics in Ancient India.
Uma Chakraborty, Beyond the Kings and Brahmanas of ‘Ancient’ India.
K.A Nilkanta Shastri, A History of South India.
Medieval India
A.C Banerjee, New History of Medieval India.
New Cambridge History Series- Vijaynagar.
Irfan Habib, Akbar and his India.
Modern India
Sekhar Bandyopadhyay, A History of Modern India.
Sekhar Bandyopadhyay, From Plassey to Partition.
Sumit Sarkar, Modern India
Further Reading
Sumit Sarkar, ‘Popular’ movements and ‘middle class’ leadership in late Colonial India.
Post Independence
Ramachandra Guha, India After Gandhi.
Will keep updating the list if I come across any better books, would also welcome any recommendations. Also I will provide the pdf’s of all mentioned books above