US vows to back India in war against terror