A baby and two toddlers remain in hospital after they were seriously injured in the incident in Dumfries on Monday.