Are you talking current games with a 2d art style, or legit classic 2d games. There are a ton of old school shmups and beat 'em ups I can recommend, but it's likely you'd have to go the route of MAME to play them. Some, however, are a part of collections available on Switch and Playstation 4.
But for contemporary games with the 2d art style, I agree with PomboBB, Hades is a fantastic rec. But I'd say that my current favorite contemporary game with a 2d art style is Cuphead. I was practically raised in the arcades, so Cuphead brings back great memories of tough, quick and dirty gameplay. I love that game so much. It's like the perfect blend of side-scrolling platforms and side-scrolling shmup.