Your cat might be peeing on your bed because it's a place that smells strongly of you, and they're trying to mix their scent with yours to create a communal scent. Or, they might be doing it because they're stressed or anxious, and your bed is a place where they feel safe and secure.