A source of sugar and a source of just drinking water is the best way to keep them alive. You can also provide them with a source of protein, but that would have to be very frequently changed to avoid having things getting stinky and nasty. Milk, crushed pollen mixed with some dilute sugar water, or watered down egg whites could all work as protein sources.