First, a word of caution: the recipe below is water based. Only use if your upholstery cleaning codes are W or WS. Also, always test on an inconspicuous spot first!
2 cups warm water
Squirt of liquid dishwashing soap
Add the water into a mixing bowl and then the soap. Use an electric mixer at medium speed to mix the solution. This will create a foam that can be used to clean your upholstered furniture. You must use this foam immediately. It cannot be stored. This homemade upholstery shampoo will work well on most food and drink stains on your upholstery, and just general dirt and grime that has built up from use.