This is a question of joint or separate possession. If Jane and John have the same birthday then it is a joint possession "they own it together" and as such only the last owner receives the apostrophe. If they have different birthdays then it is separate possession.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.