India won the first Test in Perth by 295 runs despite being bowled out for 150 in the first innings and now lead 1-0.