In general, the Cartesian product of two continuous functions is again continuous. Use the fact that the basic open sets in $X\times Y$ are of the form $U\times V$ where $U$ is open in $X$ and $V$ is open in $Y,$ then show that $$(f\times g)^{-1}[U\times V]=f^{-1}[U]\times g^{-1}[V],$$ which is open in $A\times B$ by continuity of $f$ and $g$ and the definition of the product topology.
By the same sort of reasoning, the basic open sets of $A\times B$ are of the form $U\times V$ where $U$ is open in $A$ and $V$ is open in $B,$ so we show that $$(f\times g)[U\times V]=f[U]\times g[V],$$ which is open since $f$ and $g$ are open maps.
Just to clear up my notation (in case it's new to you): Given a function $h:C\to Z,$ $E\subseteq C,$ $F\subseteq Z,$ I denote $$h^{-1}[F]:=\{x\in C:h(x)\in F\}$$ and $$h[E]:=\{f(x):x\in E\}.$$