South Africa takes 20-run lead against Australia on Day 2