ON A SCORCHING summer day in northern India, Ajay Singh sat next to his water pump and scanned his 10 acres of farmland. He once used to grow rice each season to bring in about 150,000 rupees ($2,000) a year, well above the average income in the world鈥檚 second-most populous country.

Now on six acres he鈥檚 cultivating pearl millet, cow peas, bottle gourd and corn 鈥 crops that consume about 80% less water than rice, and also use less labor, fertilizer and electricity. While a water conservation program pays him 7,000 rupees per acre to plant them, it鈥檚 still a gamble: Unlike rice, which the government always buys at a set price, these crops have no guaranteed market.

鈥淚 am taking this risk because I have a passion to leave enough water for future generations,鈥 Mr. Singh said from his farm in Karnal, an area a few hours drive north of the capital, New Delhi.

India鈥檚 1.3 billion people have access to only about 4% of the world鈥檚 water resources, and farmers consume almost 90% of the groundwater available. As global temperatures rise and overuse of water depletes existing resources, the threat to lives and businesses in Asia鈥檚 third-largest economy is projected to grow.

Water shortages are already acute: nearly half the country鈥檚 population faces high-to-extreme water stress and about 200,000 die each year due to inadequate access to safe water. Stoked by climate change, the water crisis has forced Prime Minister Narendra Modi鈥檚 government to try and turn around decades of established farming practices and convince the country鈥檚 most powerful voting bloc to change the crops they plant. Water-guzzlers like rice and wheat are out, corn and pulses are in.

鈥淭his is just the beginning,鈥 Siraj Hussain, former secretary of agriculture and a visiting senior fellow at the Indian Council for Research on International Economic Relations in New Delhi, said of the program farmers like Mr. Singh have joined. 鈥淪ooner or later, it will have to be replicated across the country. Ideally, the central government should finance part of the expenditure in providing incentives to the farmers for making the shift from paddy and sugarcane. States alone cannot afford such an ambitious plan.鈥

For Mr. Modi, pushing farmers to change is risky business because of their sheer numbers and political power. Farm income is untaxed in the South Asian nation, and water and electricity are heavily subsidized. Lowering the minimum price at which the government buys food grains from farmers could also backfire at the polls.

Although Mr. Modi鈥檚 Bharatiya Janata Party dominates parliament after a big win in last year鈥檚 election, he needs to tread a fine balance between shifting to less water-intensive crops and ensuring his government produces enough food to feed the poor. That makes incentives like those given to farmers like Mr. Singh an important test for whether India can reverse its chronic water problems.

If the program in Karnal is any indicator, the task isn鈥檛 going to be easy.

Few farmers in the rice-growing district, where the water table has been declining by 0.7 meter every year, are keen to experiment with new crops. In its first year in Haryana the project anticipates around 100,000 hectares (247,105 acres) would switch to alternate crops 鈥 but that鈥檚 only about 7% of the land used for rice cultivation in the northern state.

Farmers love rice and wheat primarily because of stable prices and assured state purchases. These two staples, along with another thirsty crop, sugar cane, are grown in 40% of the country鈥檚 gross farmed area but consume about 80% of its irrigation water. Corn and millet may use less water, but their price stability is unproven.

In the long run, experts say water shortages will make crop diversification an inevitability. Currently, India is the world鈥檚 biggest extractor of groundwater 鈥 more than China and the US combined 鈥 accounting for almost a quarter of the total extracted globally. Between 2000 and 2017 its groundwater depletion increased by as much as 23%.

But the change needs to be carefully managed, said Aditya Pratap Dabas, deputy director agriculture and the officer managing the Karnal project. 鈥淐hanging the farmers鈥 mindset is the main challenge in implementing the program.鈥

Heavier tactics backfire. Protests erupted earlier this year when the provincial government tried to restrict rice cultivation to just half the farmed area in some parts of Haryana. The farmers, some backed by the opposition Congress party, said the government couldn鈥檛 deprive farmers of the right to grow crops that fetched the best price. 鈥 Bloomberg