Question: Is it permissible on Shabbat to whisk sugar and coffee by forcibly predation until foam is made with a spoon or a hand froth special to this, as well as is it permissible to whip cream or use the spray that makes a ritch (cream) on Shabbat?
Answer: Sugar and coffee are allowed to be whipped by a spoon or a special tool, only if its liquid and not thick, but cream should not be whipped and should be avoided from using the foam and ritch on Shabbat.
Sources