Starting from the first principles of statistical mechanics the two-fluid hydrodynamics of superconductor in ideal approximation is constructed. For construction of hydrodynamics the system of equation of motion for a normal and an anomalous correlation functions are used. The transition to equations of hydrodynamics is execute with help an expansion of equations of motion for correlation functions in terms of a small parameter.