There is no prohibition against bringing food into the bathroom. However, it is not kovod for the food to be brought into the bathroom. Nowadays our bathrooms are clean and therefore there is no issue to bring food into the bathroom.
Website of Zichron Nosson Tzvi