Apple Keynote’s support for LaTeX formulas is awesome: go to Insert/Equation… and enter LaTeX code directly (you can also use MathML). The code will be evaluated and results displayed as you type. Here you can find some examples. As a general rule, you should probably write multiple lines of equations as multiple individual equations and then align them using Keynote.
If however for some reason you would like to write a single multi-line equation you can use an aligned block and double backslashes to create newlines:
\begin{aligned}
\mathcal{L}(\phi)=\sum_i{l(\hat{y}_i,y_i)}+\sum_k{\Omega(f_k)} \\
\text{where} \\
\Omega(f)=\gamma T+\frac{1}{2}\lambda\|w\|^2
\end{aligned}
The text will be right-aligned. Add ampersands to the beginning of each line to left-align:
\begin{aligned}
& \mathcal{L}(\phi)=\sum_i{l(\hat{y}_i,y_i)}+\sum_k{\Omega(f_k)} \\
& \text{where} \\
& \Omega(f)=\gamma T+\frac{1}{2}\lambda\|w\|^2
\end{aligned}