There are many flights to and from Europe to Iceland every day. Icelandair is highly recommended.
After arriving in Keflavik there are a few ways to get to Selfoss. Best way is to use the Flybus to Reykjavik bus terminal (BSÍ), and from there get a bus ticket to Selfoss.