This question already has an answer here:
I have an old U.S. passport in my maiden name and valid Indian tourist visa. I have now new U.S. passport with my new name. Can I travel with both passports and name change certificate and be okay? or do I have to obtain a transfer of visa?