Microsoft has announced a new initiative called "Xbox Play Anywhere". What this means is that you can purchase games and play them on both Xbox One and PC.
When you purchase the game digitally, you will automatically get both versions of the game. You won't have to worry about your progress, as the game will track progress and achievements. In addition, games will also support cross-play between both platforms.
Microsoft also revealed several games that will make use of this initiative, including Gears of War 4 and Ark: Survival Evolved.