The US State Department said that Washington was in touch with both India and Pakistan while urging them to work towards what it called a "responsible solution" as tensions have risen between the two Asian nations following a recent Islamist militant attack in Kashmir.