A three-year-old was among two toddlers who contracted a deadly infection from a Victorian petting farm, and died after a lengthy stay in hospital.