While tapeworms can be communicable to humans, unless you touch the worms or your dog's rear end then put your fingers in your mouth without washing your hands (I know, YUCK!), you will not get them. However, what may be in your carpet are flea eggs and/or larvae, so at the same time you have your dogs treated with a monthly flea preventative from your vet, you need to have your home and/or garden/yard (if applicable) treated by a professional exterminator who specializes in fleas. If you're in the USA, I've used Fleabusters, and they were great, if you can find one in your area. www.fleabusters.com
Dried ones look like sesame seeds and of no danger. Vacuum thoroughly and wash your dogs' bedding in hot water and detergent. Throw out anything that is not washable, like dog beds, toys made of cloth, etc., and wash everything else.
I know the skin crawling feeling, but don't worry, tapeworms are not that kind of worm. They will not reproduce outside the dog and they don't cause itching (I know you meant 'skin crawling' figuratively, but still, believe me, I know the feeling). However, remember, you still need to bring a sample of the worms and your dog to the vet for a definite diagnosis.
All my best,