President to visit India, Bangladesh