This is usually known as the heat equation, Laplace's equation involves a second derivative in $t$.
Anyway, assuming you know something about using a Fourier series to solve this, you start with the usual separation of variables $u(t,x) = T(t)X(x)$ to arrive at
$$
\frac{T'}{\alpha^2 T} = \frac{X''}{X} = -\lambda
$$
so that $X$ and $T$ satisfy ODEs
$$
T' = -\lambda \alpha^2 T, \\
X'' = -\lambda X.
$$
The solutions of the second equation are of the form
$$
X = c_1 x + c_2 \quad : \quad \lambda = 0 \\
X = c_1 e^{\sqrt{-\lambda} x} + c_2e^{-\sqrt{-\lambda}x} \quad : \quad \lambda < 0 \\
X = c_1 \cos(\sqrt{\lambda}x) + c_2\sin(\sqrt{\lambda}x) \quad : \quad \lambda > 0 \\
$$
Now use the boundary conditions:
$$
\partial_x u(0,t) = X'(0) T(t) = 0 \Rightarrow X'(0) = 0, \\
u(\pi,t) = X(\pi) T(t) = 0 \Rightarrow X(\pi) = 0.
$$
Apply these to the various cases above to narrow down your choices for $\lambda$. In particular you should be able to eliminate $\lambda \leq 0$, and also find that it constrains your choices of $\lambda > 0$ as well:
$$
X'(0) = -c_1 \sin(0) + c_2 \cos(0) = c_2 = 0 \\
X(\pi) = c_1 \cos(\sqrt{\lambda}\pi) = 0
$$
so that $\sqrt{\lambda}\pi$ is a zero of cosine, e.g.
$$
\sqrt{\lambda} = \frac{2n + 1}{2}.
$$