I see two possibilities
1) They are alive but think they are in the genjutsu world
2) They are sustained with the infinite chakra of the juubi
You clearly don't understand Tsuki No Me then
It's an "eternal" tsukuyomi. The genjutsu lasts for an eternity while not a single second passes in the real world. there will be no need for food or water.