Everyone deserves to be loved. You say he's only there for the kids, so what will happen when the kids leave home, will he leave too? I know that at the moment your children are your world, but in 15, 20, 25 years time they will have left home, and if you stay in this loveless relationship what will you be left with then? It's not just the here and now you need to be thinking of, for now it's easier to stay than to leave, but in 20 years your children will have left home, and if your h decides then that he wants to leave how will that make you feel? Can you live now knowing that in 20 years you will have no husband, no relationship, and are on your own at a time in your life where it is a lot harder to build a future than at the age you are currently now?
Children are resilliant, in fact most children pick up on things very well and when they're older your children will know that they grew up in a home where there was no love between their parents. Is that what you want for your children?
You need to decide what you want, and what you feel you can cope with. If you want to rebuild your marriage, then try and make the effort to get your h to fall in love with you again. He loved you once, you need to re-create that love between you. But if you don't think he will ever love you again, then you need to weigh up being in a loveless relationship against being in a situation where you potentially will find happyness with someone else again. Only you can decide, but remember that you deserve to be happy.
good luck xx