This is straightforward when $\mathbb{N} = \{1,2,3, \ldots\}$. I define the map $f(a,b) = 2^{a-1} \cdot (2b - 1)$, which I can prove directly is bijective. When I define $\mathbb{N} = \{0,1,2, \ldots\}$, things get much more complicated. By composing bijective maps on both sides, both $\mathbb{N} \cup \{0\} \times \mathbb{N} \cup \{0\} \to \mathbb{N} \times \mathbb{N}$ and $\mathbb{N} \to \mathbb{N} \cup \{0\}$, I come up with the map $$ f(a,b) = 2^a (2b + 1) - 1. $$ It is straightforward to prove this map is injective because the $-1$ cancels. But I don't know how to prove this map is surjective. I can deal with the zero case by simply letting $a = b = 0$, but I can't "map" between the previous bijection and this one. Though this is a composition of bijections and hence bijective, I want to try to prove this directly.
I'd appreciate any tips.
EDIT: Here is my prove that $f(a,b) = 2^{a-1} \cdot (2b - 1)$ is bijective, provided that I exclude $0$ from the definition of $\mathbb{N}$. I will call this set $\mathbb{N}' = \{1,2,3, \ldots\}$.
I claim that $f$ is a bijection. First, let $y \in \mathbb{N}'$. If $y$ is odd, then $y = 2k - 1$ for some $k \in \mathbb{N}'$. Then we have $y = 1y = 2^{1-1} \cdot (2k-1)$, so $f(1,k) = y$. If $y$ is even, then $y = 2m$ for some $m \in \mathbb{N}'$. Let $r \in \mathbb{N}'$ be the highest power of $2$ such that $2^r \mid y$. Then $y = 2^r \cdot z$ for some $z \in \mathbb{N}'$, where $z$ is odd. Then $z = 2n - 1$ for some $n \in \mathbb{N}'$, so we have $y = 2^{(r+1)-1} \cdot (2n - 1)$. Then $f(r+1, n) = y$. Therefore, $f$ is surjective. Now, given $(a,b), (p,q) \in \mathbb{N}' \times \mathbb{N}'$ for which $f(a,b) = f(p,q)$, we have $2^{a-1} \cdot (2b - 1) = 2^{p-1} \cdot (2q - 1)$. Notice that neither $2b - 1$ nor $2q - 1$ are odd, so $2$ divides neither. Without loss of generality, suppose that $a - 1 \geq p - 1$, so $a \geq p$, so $a - p$ is a non-negative integer. Dividing through by $2^{p-1}$, we obtain $2^{a-p} \cdot (2b - 1) = 2q - 1$. If $a > p$, then $a - p - 1 \geq 0$, so $2\left(2^{a-p-1} \cdot (2b - 1)\right) = 2q - 1$, so $2q - 1$ is even, which is a contradiction. So $a = p$, so $2^{a-p} = 2^0 = 1$, so $2b - 1 = 2q - 1$, so $b = q$. Therefore, $(a,b) = (p,q)$, so $f$ is injective and hence bijective, so $\mathbb{N}' \times \mathbb{N}' \cong \mathbb{N}'$.