What causes a yeast/staph infection in men?

Depends. In the genitals, its from the warm and moist environment. Over the counter antifungal creams are usually enough to cure them. In general, it's from the fungus (tinea or candida) and normal skin bacteria (staphylococcus) that are allowed to attack through a break in the skin or a disease (like diabetes, etc).