There's not enough resolution in the image to tell what they are ... other than they look like two terminal 0603 sized components.
One looks a bit darker than the other. Resistors are most often black eopxy on top with small white markings and two silver colored terminals.
Capacitors are most often tan or a light grey and will not typically be marked in the 0603 size.
If they are both capacitors and if you're lucky, they will just be decoupling caps and your board may still operate. If you have the tools and the skills you can put them back where they go. My eyes are getting old and I have trouble doing 0603 by hand these days.
When replacing 0603, I find it easiest to use some desoldering braid to soak up the solder on one of the pads. Then lay the component down on the two pads and heat the one with solder still on it such that the component sinks into it a bit and its thoroughly bonded (solder wicked onto the terminal). You may need a flux pen to get it to bond properly. Then resolder the other terminal where you removed the old solder.
Most of the components to the left of center on the board below are 0603. It's easy to distinguish the resistors from the capacitors by color as I described above.Edited by Master Chicken - 6/9/16 at 1:25pm