I use a CDN and have never seen any impact on my SEO. As long as your HTML is served off your domain you're fine.
If you're using AWS Cloudfront you can set up a CNAME so that your content comes from, say, images.mydomain.com instead of xyz.cdn.com. Helps obscure it from visitors and looks a bit neater.