L.,
I agree with Cathy on a lot of points.
I also do not believe the bed is a place for children. I know some people practice attachment parenting and feel that it is the best thing they can do, and perhaps it is a great thing. I have not found it to be easy for me, maybe because I very much enjoy some alone time and to keep my sanity I need some separation. I'm not just a mother... I'm a wife and a woman, and I am not willing to neglect the rest of me and my husband... I believe there is a balance, and I personally believe (just my opinion here) that keeping baby in bed and attachment parenting may set them up for a lack of independence later in life depending on how long it continues. I keep my babies in my bedroom for the first week... then they go into their bassinet in their room and I go to them when they need it... again, just my opinion.
The sheer presence of baby whether inutero or once they're born can do a lot to deter a man's sex drive... but i dont think that is the only factor here. although we can give our opinions on your problem, and the first thing to do is open up so i dont think this is a bad place to start, but.... your husband needs to be involved in the solution...
if he is having impotency problems he may have anxiety about getting intimate... his sex drive could be greatly affected by depression, anxiety or a hormone imbalance... perhaps his doctor could prescribe testosterone - i know two men who use this and have seen great improvement overall. (p.s. has he had a prostate exam? - might want to suggest that...)
Also, it can be a tough adjustment for any marriage when you have children... balance is a juggling act.
I would suggest talking to your husband in a non-confrontational way... tell him that his lack of interest is making you feel insecure and you want to better understand so you dont take it personally. ask him to be 100% honest, regardless of the answer and then take his responses lightly if he starts turning the reason to you. you have to be ready for whatever he has to say (and hopefully if he says it's you, he is tactful about it). Then, you two can work on whatever the problem is. But i think you definitely need to get to the root cause... the problem may not be in the functioning of the organ, but rather the psychology of the function... i think he's not being 100% honest about what's going on in his head, and that my friend is what makes you not alone on this. Most men, have a really difficult time expressing themselves honestly...
open your heart to him, open your mind and involve him in the solution. i have to imagine he is about the same age as you, and almost 40 is too young to lose your sex drive.
Good luck to you L.... I hope things get better.
and I have found a lot of people embellish their sex life, so resist comparing. The only thing that matters is the satisfaction you and your husband experience behind those bedroom doors,... or on the kitchen counter, or couch, or shower, or wherever you get it on :)