When too announce to my children?

Rianna
I'm 12 weeks + 5 and have a scan today. If all is well I really want to tell my children but last November I miscarried at 12 weeks and in February I miscarried at 7! I'm so excited to share the news with them but so nervous. Any thoughts? And anyone with children how did you share this and when?