Unlocking these characters in Sonic Riders: Zero Gravity comes down to completing specific story modes. To get Shadow, you'll need to finish the Hero Story from start to end.
For Silver, the requirement is to complete the Babylon Story. Once you've cleared each of those campaigns, the corresponding character becomes available to use.