India says fears militant attack during Obama visit