It varies by model. Many toy coffee pots list no batteries (manual play), while others require batteries — commonly 3 AA or 3 AAA depending on the toy.
Some toys include refillable or pourable coffee pots for pretend pouring; others use an inflatable fill effect or similar mechanism to mimic a cup being filled during play.