The induction principle on $\mathbb{N}$ says: assuming that a property holds for $0$, and that if it holds for $n$ then it holds for $n+1$, then the property is true for all the elements of $\mathbb{N}$. The principle holds because all the elements of $\mathbb{N}$ can be reached by starting from $0$ and applying the operation $n \mapsto n+1$ a finite number of times.
Let's make this a little more abstract. Assuming that a property holds for the initial natural ($0$), and that if it holds for a natural then it also holds for the next natural ($n+1$), then it holds for all naturals.
We can generalize this to other domains than $\mathbb{N}$ by generalizing the notions of “initial” and “next”. Assume that all the elements of a set $D$ can be reached by starting from some initial element and by applying a “derivation” operation a finite number of times. Assuming that a property holds for all the initial elements, and that if it holds for an element then it also holds for a derived element, then the property holds for all the elements.
Application: all the relative integers ($\mathbb{Z}$) can be reached by starting from $0$ (the single initial element) and applying one of the operations $n \mapsto n+1$ or $n \mapsto n-1$ a finite number of times. Therefore, the following induction principle holds on $\mathbb{Z}$: assuming that a property holds for $0$, that if it holds for $n$ then it holds for $n+1$, and that if it holds for $n$ then it holds for $n-1$, then the property holds for all the elements of $\mathbb{Z}$.
Given this principle, proving the property you want is a simple modification from the proof on $\mathbb{N}$.
It's possible to generalize this further by generalizing the notion of “derivation”. An element could be derived from multiple arguments. Assume that there is a family of constructor operations $c_i : D^{a_i} \to D$, where each constructor can take a different number of parameters, such that all elements of $D$ can be reached by applying constructors. The starting point comes from constructors with 0 arguments. Then there is an induction principle on $D$ which states that, assuming that for each constructor $c_i$, if the property holds for $(x_1,\ldots,x_{a_i})$ then it holds for $P(c_i(x_1,\ldots,x_{a_i}))$, then the property holds for all the elements of $D$. The induction principle for $\mathbb{N}$ is a special case with two constructors: $0$ (with 0 arguments) and $n \mapsto n+1$ (with 1 arguments). The induction principle for $\mathbb{Z}$ adds a third constructor $n \mapsto n-1$. You could add a fourth constructor with two arguments $(p,q) \mapsto \begin{cases} p/q & \text{if }q \ne 0 \\ 0 & \text{if } q = 0 \end{cases}$ to get an induction principle for $\mathbb{Q}$.
It's possible to generalize this even further to get induction principles on “larger” spaces (which don't even need to be countable). See drhab's answer.