Here are some basic tips.
1. Clutter freeMake sure there isn't laundry on the couches and piles of paper and junk everywhere. Make it so that you can easily see all surface area and floor area. Its simple, do a quick pick up so that guests don't have to look at your junk.
2. SanitaryMake sure that all areas, specifically that bathrooms and kitchen are wiped with disinfectant of some sort and are clean. This also includes crumbs on couches (as a mom of a toddler this is something I am constantly cleaning) which can lead to bugs and spiders.
3. FreshMake sure it smells pretty and not like a boys locker room. You typically can't smell your own sent, so light a candle, use some air spray or a plug in to make sure your home smells nice.
I will also say that you may not clean the same way for everyone. For example, if you have a pet and know that a member of your family is coming over and they are allergic, you should invest some extra time in vacuuming the furniture and try and make them as comfortable as possible. If you best gal pal is coming over for coffee, she may not mind you folding the laundry while chatting. If you have a friend who is OCD, you may want to make sure you have some serious time to clean your home before they come over.