Australia have lost the key wicket of Usman Khawaja as they chase 323 to win the first India Test.