The first one means can you talk English, like have a conservation with someone. But the second one means can you speak English, like maybe pronounce English words. But it doesn't nesseraly mean you can understand English. It makes a whole lot easier to just ask them, kan du prata engelska? Hope that helps you.
Good luck learning Swedish, it's has a lot of simplerates to english.