$$i\, \hbar \, \frac{d}{dt}\, \vert \psi (t)\rangle =\hat{H} \, \vert\psi (t)\rangle \; \; . $$
$$\hat{H}\vert E_{i} \rangle=E_{i}\vert E_{i} \rangle \; \; .$$
$$\vert\psi (t)\rangle \: = \: \sum_{n}c_{n}\vert E_{n} \rangle \; \; .$$
However, we need to add some time dependence to the term on the right since $\psi$ is dependent on time. Let us assume the Hamiltonian has no time dependence; this means that the eigenvectors of the Hamiltonian must also be time dependent. Ask the class, “Where then should we put the time dependence in our expression?” A student should say that $c_{n}$ must have the time dependence. Write in on the board that $c_{n}$ has time dependence.
$$i\, \hbar \, \frac{d}{dt}\, \left(\sum_{n}c_{n}(t)\vert E_{n} \rangle\right)=\hat{H} \, \left(\sum_{n}c_{n}(t)\vert E_{n} \rangle\right) \; \; . $$
So, all we really need at this point are to find the unknown constants $c_{n}(t)$.
Write on the board that these operations change the expression to
$$i\, \hbar \, \sum_{n}\frac{d\, c_{n}(t)}{dt}\,\vert E_{n} \rangle= \, \sum_{n}c_{n}(t)\, \hat{H}\vert E_{n} \rangle \; \; . $$
$$i\, \hbar \, \sum_{n}\frac{d\, c_{n}(t)}{dt}\,\vert E_{n} \rangle= \, \sum_{n}c_{n}(t)\, E_{n}\vert E_{n} \rangle \; \; . $$
$$\langle E_{k}\vert \, i\, \hbar \, \sum_{n}\frac{d\, c_{n}(t)}{dt}\,\vert E_{n} \rangle= \langle E_{k}\vert \, \sum_{n}c_{n}(t)\, E_{n}\vert E_{n} \rangle \; \; . $$
Then, we are projecting each component of the sum of $\vert E_{n} \rangle$ onto $\vert E_{k} \rangle$; do not be disturbed about moving $\langle E_{k}\vert$ through the sum! Remember, the sum is just a shorthand for a bunch of terms that are just added together. In short, the bra distributes through the sum to all of the kets. So, our expression becomes
$$\, i\, \hbar \, \sum_{n}\frac{d\, c_{n}(t)}{dt}\,\langle E_{k}\vert E_{n} \rangle= \, \sum_{n}c_{n}(t)\, E_{n}\langle E_{k}\vert E_{n} \rangle \; \; . $$
(As a sidenote, write down that this kind of relation can be written as the Kronecker delta, or $\langle E_{k}\vert E_{n} \rangle= \delta_{k,n}$.)
If the only non-zero terms are those where $n=k$, we can substitute every n for a k in our equation, remove the sum (since only the one term with k is left), and receive
$$\, i\, \hbar \, \frac{d\, c_{k}(t)}{dt}= \, c_{k}(t)\, E_{k} \; \; . $$
$$\int_{0}^{t}\frac{dc_{k}(t)}{c_{k}(t)}= \int_{0}^{t}\frac{E_{k}}{i\, \hbar}dt \; \;. $$
Carrying out this integral and factoring an i out on the right hand side will leave us with
$$ln\,c_{k}(t)-ln\,c_{k}(0)=\frac{-i\, E_{k}}{\hbar}t \; \; . $$
Check to see if students know how to use logarithmic rules to simplify the left side. After simplifying by combining the terms on the left side of the equal sign, taking the exponential of both sides will give
$$\frac{c_{k}(t)}{c_{k}(0)}=e^{\frac{-i\;E_{k}}{\hbar}t} \; \; .$$
Multiplying over the value $c_{k}(0)$ will give that the time-evolved constant is
$$c_{k}(t)=c_{k}(0)e^{\frac{-i\;E_{k}}{\hbar}t} \; \; .$$
$$\vert\psi (t)\rangle \: = \: \sum_{n}c_{n}(0)e^{\frac{-i\;E_{n}}{\hbar}t}\vert E_{n} \rangle \; \; . $$
$$\vert \psi (t) \rangle=c_{1}(t)\vert E_{1} \rangle \, + \, c_{2}(t)\vert E_{2} \rangle \; \; , $$
we know that the coefficients will explicitly look like
$$\vert \psi (t) \rangle=c_{1}(0)e^{\frac{-i\;E_{1}}{\hbar}t}\vert E_{1} \rangle \, + \, c_{2}(0)e^{\frac{-i\;E_{2}}{\hbar}t}\vert E_{2} \rangle \; \; . $$