Two integrable cases of two-dimensional Schrödinger equation with a magnetic field are proposed. Using the polar coordinates and the symmetrical gauge, we will obtain solutions of these equations through biconfluent and confluent Heun functions. The quantization rules will be derived for both systems under consideration.