Mehmud Ghazni wanted to invade India because-
1. The political condition in India during that time were weak. Rajput power had declined which encouraged him to attack India.
2. He wanted to build a big and powerful kingdom which required a lot of money. He therefore invaded India to fulfil his need.