Playing Dead Space 2 online is straightforward. Within the game itself, there is a "Multiplayer" option that you select to access its online playability.
If you are playing on PC rather than a console, Steam is probably your best bet for accessing the online features. Beyond that, there is no online flash version of the game, so the in-game multiplayer or Steam are your routes in.