Neutrinoless double beta decay with LEGEND