Sonic the Hedgehog
iOS:
https://apps.apple.com/us/app/sonic-the-hedgehog-classic/id316025912
Android:
https://play.google.com/store/apps/details?id=com.sega.sonic1px&hl=en_US
Sonic the Hedgehog 2
iOS:
https://apps.apple.com/us/app/sonic-the-hedgehog-2-classic/id347411942
Android:
https://play.google.com/store/apps/details?id=com.sega.sonic2.runner&hl=en_US
You can also get them from APKPure: