Dams vital to meet challenges of water shortage, power needs: PM