The correct options are
B Shyam is standing outside the bus.
C Ram is sitting in the bus.
Motion is a respective thing. When one says that the body is moving, this might happens that the body is at rest with respect to another person.
In the given situation, bus is moving, so the driver is at rest with respect to Ram who is sitting on the bus, while he is moving with respect to Shyam who is standing outside the bus.