Manchester City manager Pep Guardiola praised his side's performance despite losing 2-0 at home to Liverpool.