It's perfectly normal to be clueless and freaking out.
Love will prevail.
Don't try to overcompensate them with what you think they may not have; aka, spoil them. Just let them know that they are loved. Don't be afraid to discipline, they need structure, stability, and strength from you.
I think what you're doing is awesome.