Main Food Source
Guinea pigs are herbivores, and their main food source is hay. They should have a constant supply of it. You can put some around the cage, and have some containers for it, like a rack. You should also give your guinea pigs' pelleted food that is plant based and targeted for guinea pigs. Giving them pelleted food will give them more nutrients that they need. You should give about an 1/8th of a cup per guinea pig per day.
Fruits and Veggies
Fruits are like treats for guinea pigs, so they should be given every few days to every week. Veggies should be given almost every day if not every day.
(Some) safe vegetables: Romaine lettuce, spinach, kale, parsley, carrots (and the carrot top), zucchini, sweet potato, peas, cucumber, broccoli, artichoke, bell, peppers
(Some) safe fruits: Bananas, blueberries, cantaloupe, strawberries, tomatoes, watermelon
Herbs
(Some) safe herbs: marjoram, borage, marigold, nasturtium, rosemary, parsley, coriander, basil, and dill
Some Unsafe Foods
Meat, dairy, iceberg lettuce, cabbage, cauliflower, avacado, leeks, onions, chives, garlic, any plant or item treated with pesticides
​
Water
Refill your guinea pigs' water supply every few days, but if you have an open water source (like a cup) change it if you see pee or poop in it.
You can buy vitamin C drops for your guinea pigs' water to keep them healthy.