Found this recipe here
Natural House and Home Cleaners , Organic Living and Healthy Lifestyles for cleaning floors
* For greasy, no-wax floors:
1 cup vinegar
1/4 cup washing soda
1 tablespoon vegetable oil-based liquid soap
2 gallons hot water
Combine all ingredients, stirring well to dissolve the washing soda. Mop as usual.
You probably could just sprinkle regular baking soda down for freshen up your carpet.