Former President Barack Obama and former first lady Michelle Obama have posted Valentine's Day messages on Twitter.