About ketosis:
The first 2-3 days of Water Fasting your body burns mostly your muscle and little fat. When it goes through ketosis after the first 3 days it switches and burns mostly fat instead of muscle. But if you consume any amount of calories even in plain coffee you stop ketosis from happening. So you would be losing a lot of muscle mass instead of fat, it could make you skinny fat. Also coffee and fasting is bad for your heart.