An unbeaten stand of 79 between captains past and present capped a remarkable first day for Australia in the second Test against India.