بسم الله الرحمن الرحيم
One may use soap, cream or lotion while taking a bath in the state of fast, it will not invalidate the fast. Just take care that you don’t exaggerate in gargling and putting water in the nose.
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.