But some U.S. lawmakers criticized the deal , saying the agreement that could give India access to U.S. civilian nuclear technology would undermine the Nuclear Non-Proliferation Treaty .