Quarkonia production in ATLAS and CMS experiments