A rigid stainless steel chamber contains $\pu{0.32 bar}$ of methane, $\ce{CH4}$, and excess oxygen $\ce{O2}$, at $\pu{200.0 °C}$. A spark is ignited inside the chamber, completely combusting the methane. What is the change in total pressure within the chamber following the reaction? Assume a constant temperature throughout the process.
I wrote out the following chemical equation:
$$\ce{CH4 + 2O2 -> CO2 + 2H2O}$$
I know I have $\pu{32 kPa}$ of methane, so using up all the moles of methane would mean that pressure decreases all the way to $0$.
The solution writes the following: it multiplies the 1 mol of $\ce{CH4}$ by $1$ to get the number of moles of $\ce{CO2}$ and by $2$ to get the moles of $\ce{H2O}$ produced.
Why can we do that? I would assume that by multiplying in such a way, you're implying that all of the $\ce{CH4}$ is being used up to create $1$ mol of $\ce{CO2}$. This means that you have no more moles to spare for creating $\ce{H2O}$.
I know my conceptual understanding is wrong, but this is what I thought while doing the question and the solution doesn't intuitively make sense to me.
I was wondering if someone could clarify my misunderstanding for me.