Alphabet reported quarterly earnings that topped analysts' estimates and revenue that beat expectations on Monday.