I use Rock and Roll lube - so the drivetrain / bike is relatively clean
if I get a bike that has a dirty / grease and oil covered drivetrain - I typically spray / clean it with WD-40 and then (after wiping off excess gunk etc) will then apply Rock and Roll chain lube